﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Logon.aspx.cs" Inherits="HummingBird.UI.Logon" %>
<%@ Import Namespace="HummingBird" %>

<html>
    <head runat="server">
        <title>Logon - Administrator</title> 
        <style>
            .small{font-size:0.7em; font-family:verdana}
            .textbox
            {
	            FONT-FAMILY: Arial;
	            FONT-SIZE: 8pt;
	            COLOR: #000000;
	            border: 1px solid #006291;
	            background-color: #FFFFFF;
                
            }
            .blank
            {
                BORDER-RIGHT: medium none;
                BORDER-TOP: medium none;
                FONT-SIZE: 2pt;
                BORDER-LEFT: medium none;
                BORDER-BOTTOM: medium none;
                FONT-FAMILY: Tahoma
            }

        </style>
    </head>

<body>
<form runat="server" id="frmlogon">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
    <td style="padding-top:100pt; padding-right:10pt;" align="center">
          <!-- ImageReady Slices (Untitled-1) -->
        <table id="Table_01" width="420" border="0" cellpadding="0" cellspacing="0">
	        <tr>
		        <td>
			        <table id="Table_04" width="100%" height="29" border="0" cellpadding="0" cellspacing="0">
				        <tr>
					        <td><img src="img/admin_01.gif" width="9" height="29" alt=""></td>
					        <td background="img/admin_02.gif" width="100%" height="29" valign="top">
					            <div style="font-size:0.7em; color:White; font-family:Verdana; padding-top:3pt; font-weight:bold">
					            Đăng nhập
					            </div>
                            </td>
					        <td><img src="img/admin_03.gif" width="10" height="29" alt=""></td>
				        </tr>
			        </table></td>
	        </tr>
	        <tr>
		        <td height="100%">
			        <table id="Table_03" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
				        <tr>
					        <td background="img/admin_04.gif" width="1" height="100%">
						        <img src="img/admin_04.gif" alt="">
					        </td>
					        <td width="100%" height="100%" valign="top" style="background-color:White">
					           
					          <!--form logon -->
					            <table width=96% cellpadding=0 cellspacing=0 align=center border="0">
					                <tr>
					                    <td align=center style="padding-top:5pt;">
					                        <img src="img/ICONAdmin.jpg">
					                     </td>
					                    <td align="center" style="font-size:1.2em; font-family:Tahoma; font-weight:bold; color:#003366">
					                        Đăng nhập quản trị<br>D.S.C
					                    </td>
					                </tr>
					                <tr>
					                    <td colspan=2 class=small><%--Nhập tên đăng nhập và mật khẩu. Sau đó nhấn nút "Đăng nhập" để vào trong trang quản lý website.--%></td>
					                </tr>
					                <tr>
					                    <td colspan=2 class=blank><hr color=lightgrey size=1 width=98%></td>
					                </tr>
					                <tr>
					                    <td colspan=2 align=center style="padding-top:5pt; padding-bottom:5pt;">
					                        <asp:Label runat="server" ID="lblMsg" Font-Size="0.7em" Font-Bold="false" ForeColor="red" Font-Names="Verdana" Text=""></asp:Label>
					                    </td>
					                </tr>
					                
					                <tr>
					                    <td align=right width=40% style="font-size:0.7em; font-family:Verdana">
					                        <b>Tên đăng nhập :&nbsp;&nbsp;</b>
					                     </td>
					                    <td>
					                        <asp:TextBox runat="server" ID="txtUsername" CssClass="textbox" Width="180"></asp:TextBox>
					                        <asp:RequiredFieldValidator ID="rfv1" runat="server" ControlToValidate="txtUsername" ErrorMessage="*" CssClass="small"></asp:RequiredFieldValidator>
					                    </td>
					                </tr>
					                <tr><td class=blank>&nbsp;</td></tr>
					                <tr>
					                    <td align=right style="font-size:0.7em; font-family:Verdana"><b>
					                        Mật khẩu :&nbsp;&nbsp;</b>
					                    </td>
					                    <td>
					                        <asp:TextBox runat="server" ID="txtPassword" TextMode="Password" CssClass="textbox" Width="180"></asp:TextBox>
					                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPassword" ErrorMessage="*" CssClass="small"></asp:RequiredFieldValidator>
					                    </td>
					                </tr>
					                <tr><td class=blank>&nbsp;</td></tr>
					                <tr>
					                    <td colspan=2 align="right" style="padding-right:41pt;">
					                        <asp:Button runat="server" ID="btLogon" OnClick="btLogin_OnClick" CssClass="textbox" Text="Đăng nhập" />&nbsp;
					                    </td>
					                </tr>
					                <tr><td colspan=2 class=blank><hr color=lightgrey size=1 width=98%></td></tr>
				                </table>
					          <!--end form logon -->
					        </td>
					        <td background="img/admin_06.gif" width="1" height="100%" >
						        <img src="img/admin_06.gif" width="1" alt="">
						    </td>
				        </tr>
			        </table></td>
	        </tr>
	        <tr>
		        <td>
			        <table id="Table_02" width="100%" height="13" border="0" cellpadding="0" cellspacing="0">
				        <tr>
					        <td>
						        <img src="img/admin_07.gif" width="9" height="13" alt=""></td>
					        <td>
					        <td background="img/admin_08.gif" width="100%" height="13"></td>
					        <td>
						        <img src="img/admin_09.gif" width="10" height="13" alt=""></td>
				        </tr>
			        </table></td>
	        </tr>
        </table>
        <!-- End ImageReady Slices -->
    </td>
</tr>
</table>
    
</form>

</body>
</html>